<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>hello</h1>
    <p>神雕侠侣</p>
    <ul>
        <!--使用渲染模板传过来的参数需要{{}}-->
        {% for name in datas.username %}
            <li onclick="alert({{name}})">{{ name }}</li>
        {% endfor %}
    </ul>
</body>
</html>